import { Controller, Get, Post, Body, Patch, Param, Delete } from '@nestjs/common';
import { LogService } from './log.service';
import { CreateLogDto } from './dto/create-log.dto';
import { UpdateLogDto } from './dto/update-log.dto';

@Controller('log')
export class LogController {
  constructor(private readonly logService: LogService) {}

  //根据部署文件ID节点ID获取日志全量数据
  @Post('/getLog')
  async getLogData(@Body() body) {
    return this.logService.getLogData(body);
  }
}
